package com.sk.sourcecircle.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by sk on 2018/1/8.
 */

public class GroupCircleList{


    /**
     * code : 200
     * data : [{"c_id":10,"group_id":"37811314032641","community_id":1,"c_name":"111","type":1,"create_time":"2018-01-09 08:33:21","update_time":"2018-01-09 08:33:21","friends":"18","status":1,"num":20,"desc":"222","public":1,"members_only":0,"allowinvites":1,"administration":null,"user_id":null,"head_url":null,"is_follow":1,"followcount":1},{"c_id":7,"group_id":"37742179319809","community_id":1,"c_name":"测试圈子添加","type":1,"create_time":"2018-01-08 14:14:39","update_time":"2018-01-08 23:33:18","friends":"17","status":1,"num":20,"desc":"测试圈子添加","public":1,"members_only":0,"allowinvites":1,"administration":null,"user_id":null,"head_url":null,"is_follow":0,"followcount":1}]
     */

    private int code;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements MultiItemEntity {
        /**
         * c_id : 10
         * group_id : 37811314032641
         * community_id : 1
         * c_name : 111
         * type : 1
         * create_time : 2018-01-09 08:33:21
         * update_time : 2018-01-09 08:33:21
         * friends : 18
         * status : 1
         * num : 20
         * desc : 222
         * public : 1
         * members_only : 0
         * allowinvites : 1
         * administration : null
         * user_id : null
         * head_url : null
         * is_follow : 1
         * followcount : 1
         */

        private int c_id;
        private String group_id;
        private int community_id;
        private String c_name;
        private int type;
        private String create_time;
        private String update_time;
        private String friends;
        private int status;
        private int num;
        private String desc;
        @SerializedName("public")
        private int publicX;
        private int members_only;
        private int allowinvites;
        private String administration;
        private String user_id;
        private String head_url;
        private int is_follow;
        private int followcount;

        public int getC_id() {
            return c_id;
        }

        public void setC_id(int c_id) {
            this.c_id = c_id;
        }

        public String getGroup_id() {
            return group_id;
        }

        public void setGroup_id(String group_id) {
            this.group_id = group_id;
        }

        public int getCommunity_id() {
            return community_id;
        }

        public void setCommunity_id(int community_id) {
            this.community_id = community_id;
        }

        public String getC_name() {
            return c_name;
        }

        public void setC_name(String c_name) {
            this.c_name = c_name;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(String update_time) {
            this.update_time = update_time;
        }

        public String getFriends() {
            return friends;
        }

        public void setFriends(String friends) {
            this.friends = friends;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public int getPublicX() {
            return publicX;
        }

        public void setPublicX(int publicX) {
            this.publicX = publicX;
        }

        public int getMembers_only() {
            return members_only;
        }

        public void setMembers_only(int members_only) {
            this.members_only = members_only;
        }

        public int getAllowinvites() {
            return allowinvites;
        }

        public void setAllowinvites(int allowinvites) {
            this.allowinvites = allowinvites;
        }

        public String getAdministration() {
            return administration;
        }

        public void setAdministration(String administration) {
            this.administration = administration;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getHead_url() {
            return head_url;
        }

        public void setHead_url(String head_url) {
            this.head_url = head_url;
        }

        public int getIs_follow() {
            return is_follow;
        }

        public void setIs_follow(int is_follow) {
            this.is_follow = is_follow;
        }

        public int getFollowcount() {
            return followcount;
        }

        public void setFollowcount(int followcount) {
            this.followcount = followcount;
        }

        @Override
        public int getItemType() {
            return is_follow;
        }
    }
}
